package com.im.users.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.im.common.utils.PageUtils;
import com.im.security.dto.LoginVo;
import com.im.users.entity.FollowerEntity;
import com.im.users.vo.FansVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author zengla
 * @email 861475790@qq.com
 * @date 2023-07-13 16:36:27
 */
public interface FollowerService extends IService<FollowerEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Long getFollowerCount(Integer idNum);

    List<FansVo> getFollower(LoginVo loginVo);

    Boolean unFollow(int list, LoginVo loginVo);

    Boolean follow(int uid, LoginVo loginVo);
}

